package com.snakegame.config;
//haha哈
/**
 * 游戏难度枚举，定义不同的游戏难度
 */
public enum Difficulty {
    EASY("简单", 5, 10),
    MEDIUM("中等", 10, 20),
    HARD("困难", 15, 30);
    
    private String displayName;
    private int updateRate; // 每秒更新次数
    private int scoreMultiplier; // 分数乘数
    
    Difficulty(String displayName, int updateRate, int scoreMultiplier) {
        this.displayName = displayName;
        this.updateRate = updateRate;
        this.scoreMultiplier = scoreMultiplier;
    }
    
    public String getDisplayName() {
        return displayName;
    }
    
    public int getUpdateRate() {
        return updateRate;
    }
    
    public int getScoreMultiplier() {
        return scoreMultiplier;
    }
}    